package clothes.tools.pojo;

import java.math.BigDecimal;

public class Sell {
    private Integer sid;
    private String pid;
    private  String otime;
    private Integer onum;
    private String pcolor;
    private String psize;
    private  String pname;
    private String cid;
    private BigDecimal price;
    private BigDecimal totalprice;
    private String adress;
    private String phone;
    private  String name;

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getOtime() {
        return otime;
    }

    public void setOtime(String otime) {
        this.otime = otime;
    }

    public Integer getOnum() {
        return onum;
    }

    public void setOnum(Integer onum) {
        this.onum = onum;
    }

    public String getPcolor() {
        return pcolor;
    }

    public void setPcolor(String pcolor) {
        this.pcolor = pcolor;
    }

    public String getPsize() {
        return psize;
    }

    public void setPsize(String psize) {
        this.psize = psize;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Sell() {
    }

    public Sell(Integer sid, String pid, String otime, Integer onum, String pcolor, String psize, String pname, String cid, BigDecimal price, BigDecimal totalprice, String adress, String phone, String name) {
        this.sid = sid;
        this.pid = pid;
        this.otime = otime;
        this.onum = onum;
        this.pcolor = pcolor;
        this.psize = psize;
        this.pname = pname;
        this.cid = cid;
        this.price = price;
        this.totalprice = totalprice;
        this.adress = adress;
        this.phone = phone;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Sell{" +
                "sid=" + sid +
                ", pid='" + pid + '\'' +
                ", otime='" + otime + '\'' +
                ", onum=" + onum +
                ", pcolor='" + pcolor + '\'' +
                ", psize='" + psize + '\'' +
                ", pname='" + pname + '\'' +
                ", cid='" + cid + '\'' +
                ", price=" + price +
                ", totalprice=" + totalprice +
                ", adress='" + adress + '\'' +
                ", phone='" + phone + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
